import { createApp } from '../libs/vue.browser.js';

let app = createApp({
  data() {
    return {
      title: 'vue3演示',
      user: {
        username: '',
        password: '',
      },
      menus: [
        { title: '黑暗骑士的网站', href: 'https://huhuiyu.top' },
        { title: '哔哩哔哩', href: 'https://bilibili.com' },
      ],
      visible: false,
    };
  },
  methods: {
    showUser() {
      alert(JSON.stringify(this.user, null, 2));
    },
  },
});

app.mount('#app');
